/**
 * Copyright 2008 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
#wrap {
  width: 98%;
  margin: 0 1%;
  padding: 5px 0;
}

a,
.tablib_selected {
  color: #00d !important;
}

.tablib_emptyTab,
.tablib_unselected,
.tablib_spacerTab {
  border-bottom: 1px solid #ccc;
}

.tablib_selected {
  border-color: #ccc;
  background: #eee;
  border-right: 1px solid #999;
}


.controls {
  font: 14px Arial, sans;
  padding: 0;
  margin: 0;
}

.toolbar {
  background: #eee;
  border: 1px solid #ccc;
  border-bottom: 1px solid #999;
  border-right: 1px solid #999;
  border-top-width: 0;
  padding: 2px;
}

.toolbar table {
  width: 99%;
  border-collapse: collapse;
  margin: 0;
}

.toolbar table td {
  
}


.subtoolbar {
  background: #ddd;
  padding: 3px;
  border: 1px solid #ccc;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #999;
  border-right: 1px solid #999;
}

.controls a,
.subtoolbar a,
.subtoolbar span,
.subtoolbar code,
.subtoolbar span code a,
#code_controls .controlcell a  {
  font: 14px Arial, sans !important;
  cursor: pointer;
  height: 16px;
}


.subtoolbar span {
  color: #111;
}


#dom_handle {
  margin: 10px 0;
}

.toolbar select {
  border: 1px solid #ccc;
  font: 11px Arial;
  padding: 2px;
  width: 15em;
}

.toolbar a img,
.subtoolbar a img {
  height: 16px;
  width: 16px;
  padding: 0;
  margin: 0; 
  vertical-align: middle;
}

#code_controls table {
	width: 100%;
}
#code_controls .samplescell {
	width: 82%;
	padding-top: 2px;
}

#code_controls .controlcell {
	width: 9%;
	text-align: right;
	vertical-align: top;
	padding-top: 2px;
}

#button_code_down {
	background: url('@server.deploy.base@/img/arrow_down.png') no-repeat left center;
	padding-left: 20px;
}

#button_code_up {
	background: url('@server.deploy.base@/img/arrow_up.png') no-repeat left center;
	padding-left: 20px;
}


#samplesbox {
	width: 100%;
	background: #fff;
	border: 1px dashed #999;
	padding: 2px;
}

.overlay-shadow {
  background: #333;
}
.overlay-content {
  border: 4px solid #A7C7FB;
  background: #F1F6FE;
  left: -3px;
  top: -3px;
  padding: 5px;
}

.dafos-notice {
  font: 11px Arial;
  color: #999;
  text-align: center;
}

.dafos-notice a {
  color: #55d !important;
}

.dafos-button {
  margin-left: 8px;
  text-decoration: none;
}

.dafos-button img {
	vertical-align: sub;
	border: 0;
}

.dafos-tools-cachetable,
.dafos-tools-cachetable button,
.dafos-tools-cachetable input {
  width: 100%;
}

.dafos-tools-cachetable td.inputcell {
  width: 80%;
}


.dom_handle_label {
  font: 13px Courier New;
  background: #eee;
  color: #999;
}

p, div, span {
  font: 12px Arial;
}

code, var, .code, #output {
  font: 13px Courier New;
}

h1, h2, h3, h4 {
  color: #000;
  font-weight: normal;
  font-family: Arial;
  margin: 15px 0 5px 0;
  padding: 0;
}
h1 {
  font-size: 22px;
  border-bottom: 1px solid #ccc;
}
h2 {
  font-size: 18px;
}
h3,
h3 * {
  font-size: 16px;
}

li {
	padding: 2px 0;
}


code {
  color: #090;
}
var {
  color: #00d;
}
.code {
  font-weight: bold;
  background: #fffeee;
  color: #000;
  padding: 5px;
  border: 1px solid #999;
}
p, .code {
  margin: 2px, 0;
}

.clear {
	clear: both;
}

.dafos-message,
.dafos-error {
  text-align: center;
  padding: 2px;
  margin-bottom: 4px;
  background: #36b;
  color: #fff;
}

.dafos-error {
	background: #d00;
}

.notice {
  width: 70%;
  padding: 4px;
  background: #fffeee;
  border: 1px solid #eeeddd;
  margin: 5px auto;
}

.hidden {
  display: none;
}

#output {
  background: #333;
  color: #fff;
  padding: 5px;
  margin: 5px 0;
}
.status {
  color: #999;
}
#link_container {
  background: #e0ecff;
  font: 14px Arial;
  margin: 10px;
  padding: 5px;
}
textarea {
  width: 100%;
  height: auto;
}
#code_exec {
  height: 400px;
}

.console div {
  font: 9px Courier;
  color: #fff;
  background: #000;
  padding: 2px;  
}
.console .odd {
  background: #111;
}


/**
 * InputDisplay styles
 */
.InputDisplay {
  width : 300px;
  position: absolute;
  top: 150px;
  left: 50%;
  margin-left: -150px;
  background: #333;
}

.InputDisplay table {
  width: 300px;
  position: relative;
  border: 4px solid #A7C7FB;
  background: #F1F6FE;
  left: -3px;
  top: -3px;
  font-weight: bold !important;
}

.InputDisplay input {
  width : 95%;
}

/**
 * List of news/snippets styles
 */
.entries-list {
  margin: 0;
  padding: 0;
}

.entries-list .entry {
  margin: 0;
  padding: 20px 0 0 0;
  list-style-type: none;
  font: 12px Arial;
}

.entries-list .title {
  display: block;
  font: 18px Arial;
  padding: 0 0 2px 0;
  margin: 0 0 4px 0;
  border-bottom: 1px solid #ccc;
}

.entries-list .title a {
	text-decoration: none;
}

.entries-list .subtitle {
  font: 13px Arial;
  font-style: italic;
  color: #666;
}

.entries-list .summary {
	margin: 10px 0;
}

.entries-list .code {
  margin: 0;
  background: #fffeee;
  border: 1px solid #ccc;
  font: 12px Courier New;
  overflow: auto;
  width: 100%;
  height: 200px;
}

/**
 * News tab
 */
#newstab-toc {
	width: 40%;
	float: right;
	margin: 10px 0 0 0;
	border-bottom: 10px solid #fff;
	border-left: 10px solid #fff;
}
#newstab-toc-table thead th {
	font: 16px Arial;
	font-weight: bold;
	text-align: left;
}
#newstab-toc-table .subtitle {
	font: 10px Arial;
	font-style: italic;
	color: #666;
}

/**
 * Tabular data
 */
table.tabular tr.odd {
  background: #eee;
}
table.tabular tr.even {
  background: #fafafa;
}

table.tabular {
  width: 100%;
  margin: 0;
  padding: 0;
  font: 12px Arial;
  border-bottom: 1px solid #999;
  border-top: 1px solid #999;
}

table.tabular tbody,
table.tabular thead {
	width: 100%;
}

table.tabular tbody th {
  font-weight: bold;
  text-align: right;
  vertical-align: top;
  padding: 5px;
  border-bottom: 1px solid #ddd;
}
table.tabular tbody td {
  padding: 5px;
  border-bottom: 1px solid #ddd;
}

table.tabular thead th {
	background: #ddd;
  text-align: center;
  border-bottom: 1px solid #999;
  padding: 5px;
}

/**
 * Export tab
 */
#exporttab table.tabular tbody th {
	width: 100px;
}

#exporttab table .textinput {
  width: 100%;
  padding: 4px;
  border: 1px solid #999;
  font: 12px Arial;
}

#exporttab table td.important .textinput {
	background-color: #fffeee;
}

#exporttab table.preload tbody td {
  text-align: center;
}

#exporttab table.preload input {
  width: 100%;
}

#exporttab table.features tbody th {
  width: 25%;
}

#exporttab textarea.code {
  height: 200px;
}

#exporttab-overlay-textbox {
	display: block;
  overflow: auto;
  font-weight: bold;
  background: #fff;
  padding: 5px;
  border: 1px solid #999;
  width: 98%;
  margin: 0 auto;
}

#exporttab-view-tabs .tabular {
  border-top: 0;
}

#exporttab-view-tabs {
  position: relative;
}

#exporttab-view-tabs textarea.view_html,
#exporttab-view-tabs .view_html_background {
	position: absolute;
	width: 98%;
	left: 5px;
	top: 5px;
	height: 490px;
	margin: 0;
	border: 0;
	overflow: auto;
}

#exporttab-view-tabs .view_html_wrap .highlight,
#exporttab-view-tabs textarea.view_html,
#exporttab-view-tabs .view_html_background {
	 font: 12px Courier New;
}

#exporttab-view-tabs textarea.view_html {
  background: transparent;
}

#exporttab-view-tabs .view_html_wrap {
	position: relative;
	height: 500px;
	background: #fffeeb;
	border: 1px solid #ccc;
} 

#exporttab-view-tabs .view_html_background {
  color: #fffeeb;
  overflow: hidden;
}

#exporttab-view-tabs .view_html_wrap .highlight {
	background: #FFF4AD;
	color: #FFF4AD;

	display: block;
	margin-bottom: -1em; 

}

#exporttab-clipboard {
	width: 0;
	height: 0;
	position: absolute;
	overflow:hidden;
	right: 0;
	bottom: 0;
}

#exporttab-bottom-toolbar {
	background: #EEEEEE;
  border-color: #CCCCCC #999999 #999999 #CCCCCC;
  border-style: solid;
  border-width: 1px;
  padding:2px 5px;
  text-align: right;
  margin: 10px 0;
  vertical-align: top;
}

/**
 * Tools tab
 */
#toolstab img {
  margin: 0 5px 15px 5px;
  border: 1px solid #ccc;
}

/**
 * Help tab
 */
#helptab a.external {
  color: #0d0 !important;
}

img.center {
  display: block;
  margin: 10px auto;
}

img.left {
  float: left;
  margin: 0 10px 10px 0;
}

img.right {
  float: right;
  margin: 0 0 10px 10px;
}

#helptab ol {
  margin: 10px 12%;
  padding: 0;
}

#helptab ol li {
	margin: 5px 0;
	color: #c00;
	font-weight: bold;
}

#helptab ol li span {
	padding: 0 0 0 2px;
  color: #000;
  font-weight: normal;
}
#helptab .reference {
  color: #c00;
  font-weight: bold;
}

#helptab .gs-nav a {
	text-decoration: none;
	border: 1px solid #ccc;
	-moz-border-radius: 4px;
	padding: 4px;
	margin: 1px 0;
	background: #fafafa;
	color: #666 !important;
}

#helptab .gs-nav {
  width: 100%;
  table-layout: fixed;
  margin: 0 0 10px 0;
  padding: 0;
}

#helptab .gs-nav td {
  padding: 0 3px 3px 3px;
  font-size: 12px;
}

#helptab .gs-nav.bottom {
  margin-top: 20px;
}

#helptab .apilist {
  margin: 0 12%;
}

#helptab .apilist th {
  vertical-align: top;
  text-align: left;
  padding: 0 20px 0 0;
  font-size: 12px;
}

#helptab .apilist td {
  padding: 0 0 5px 0;
  font-size: 12px;
}

/**
 * State tab
 */
#statetab .even {
  background: #fafafa;
}
#statetab .odd {
  background: #eee;
}
#statetab .person {
  width: 100%;
  table-layout: fixed;
}
#statetab .person td {
  vertical-align: top;
}
#statetab .person td.thumbnail {
	width: 64px;
	vertical-align: top;
}
#statetab .person td.thumbnail img {
  width: 64px;
}
#statetab .person .persondisplayname {
	font: 16px Arial;
	margin: 0;
	padding: 0;
}
#statetab .person .personid {
	font: 12px Arial;
	color: #666;
	margin: 0;
	padding: 0;
} 
#statetab .fieldstable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#statetab .fieldstable td {
  font: 12px Arial;
  padding-top: 2px;
  padding-bottom: 2px;
  border-bottom: 1px dotted #ccc;
  vertical-align: top;
}

#statetab .fieldstable td.value {
  width: 40%;
  font-weight: bold;
  color: #090;
  overflow: auto;
}

#statetab .fieldstable td pre {
  font: 12px Arial;
  margin: 0;
  padding: 0;
}

#statetab .fieldstable tr.headerrow td pre {
  font-weight: bold;
}

.profile #code_exec {
  height: 200px;
}

.profile #select_load {

}